/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import javax.swing.JOptionPane;

/**
 * <p>Project: javase202202 - Input2
 * <p>Powered by Lisi On 2022-05-31 14:01:51
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Input2 {
    public static void main(String[] args) {
        String age = "";
        //age = JOptionPane.showInputDialog(null," 请输入你的年龄:","系统提示",JOptionPane.INFORMATION_MESSAGE);
        //age = JOptionPane.showInputDialog("请输入年龄");
        age = JOptionPane.showInputDialog("请输入年龄",18);
        System.out.println(age);
    }
}
